<template>
  <div class="video-container">
    <h1>视频</h1>
    <div>root-getter-token: {{ token }}</div>
    <div>root-getter-refreshToken: {{ refreshToken }}</div>
    <div>comment-getter-toStringOfIsShowPublishCommentPopup: {{ toStringOfIsShowPublishCommentPopup }}</div>
  </div>
</template>

<script>
import { getters as rootGetters } from '../../store/index'
import { getters as commentGetters } from '../../store/modules/comment'
export default {
  name: 'VideoPage',
  data () {
    return {
      toStringOfIsShowPublishCommentPopup: this.$store.getters[commentGetters.toStringOfIsShowPublishCommentPopup.nsname],
      refreshToken: this.$store.getters[rootGetters.refreshToken.nsname]
    }
  },
  computed: {
    token () {
      return this.$store.getters[rootGetters.token.nsname]
    }
  }
}
</script>

<style scoped></style>
